// 工单管理
import request from '@/api/axios'

// 分页获取工单列表
export function getWorkOrderList(data) {
    return request({
        url: '/olda-shunshun-expressage-system-service/basExpressWorkOrder/pagedQuery',
        method: 'post',
        data
    })
}

// 获取物流信息
export function getOrderProgressByCourierNumber(id) {
    return request({
        url: `/olda-shunshun-expressage-system-service/bas/user/parcel/trackByCn/${id}`,
        method: 'get'
    })
}

// 获取工单类型
export function getWorkOrderTypeList() {
    return request({
        url: '/olda-shunshun-expressage-system-service/basExpressWorkOrder/selectAllWorkOrderTypes',
        method: 'get'
    })
}
